package com.yuexun.dhdoctor.module.mythings.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by work-jx on 2017/3/14.
 */
public class TypeBean {

    /**
     * status : 200
     * flag : SUCCESS
     * message : 操作成功
     * action : inquireTaskConfigList
     * version : v1.0
     * format : json
     * datas : [{"configId":39,"configName":"领书登记表","configUrls":"67a8e8d27f234a72893e3dca2e58adda","createName":"金岩泉","createTime":"2017-03-08 13:27:02","creator":95,"dtlList":[],"status":1},{"configId":43,"configName":"特殊药品申请","configUrls":"6c15aec7b6184a82bfc961e8ab7204bc","createName":"系统管理员","createTime":"2017-03-08 14:27:20","creator":95,"dtlList":[],"status":1},{"configId":58,"configName":"测试10种情况","configUrls":"","createName":"系统管理员","createTime":"2017-03-09 16:36:32","creator":1,"dtlList":[],"status":1},{"configId":60,"configName":"请假单","configUrls":"34b06fa2374b43e58189800011c9c19d","createName":"系统管理员","createTime":"2017-03-13 08:00:40","creator":1,"dtlList":[],"status":1}]
     */

    private String status;
    private String flag;
    private String message;
    private String action;
    private String version;
    private String format;
    /**
     * configId : 39
     * configName : 领书登记表
     * configUrls : 67a8e8d27f234a72893e3dca2e58adda
     * createName : 金岩泉
     * createTime : 2017-03-08 13:27:02
     * creator : 95
     * dtlList : []
     * status : 1
     */

    private ArrayList<DatasEntity> datas;

    public void setStatus(String status) {
        this.status = status;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public void setDatas(ArrayList<DatasEntity> datas) {
        this.datas = datas;
    }

    public String getStatus() {
        return status;
    }

    public String getFlag() {
        return flag;
    }

    public String getMessage() {
        return message;
    }

    public String getAction() {
        return action;
    }

    public String getVersion() {
        return version;
    }

    public String getFormat() {
        return format;
    }

    public ArrayList<DatasEntity> getDatas() {
        return datas;
    }

    public static class DatasEntity {
        private int configId;
        private String configName;
        private String configUrls;
        private String createName;
        private String createTime;
        private int creator;
        private int status;
        private List<?> dtlList;

        public void setConfigId(int configId) {
            this.configId = configId;
        }

        public void setConfigName(String configName) {
            this.configName = configName;
        }

        public void setConfigUrls(String configUrls) {
            this.configUrls = configUrls;
        }

        public void setCreateName(String createName) {
            this.createName = createName;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public void setCreator(int creator) {
            this.creator = creator;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public void setDtlList(List<?> dtlList) {
            this.dtlList = dtlList;
        }

        public int getConfigId() {
            return configId;
        }

        public String getConfigName() {
            return configName;
        }

        public String getConfigUrls() {
            return configUrls;
        }

        public String getCreateName() {
            return createName;
        }

        public String getCreateTime() {
            return createTime;
        }

        public int getCreator() {
            return creator;
        }

        public int getStatus() {
            return status;
        }

        public List<?> getDtlList() {
            return dtlList;
        }
    }
}
